<?php

declare(strict_types=1);

namespace App\Dto\Admin\Test;

use App\Dto\Admin\User\UserDto;
use Hesb\Hyperf\ApiDocs\Annotation\ApiModel;
use Hesb\Hyperf\ApiDocs\Annotation\ApiModelProperty;
use Hesb\Hyperf\DTO\Validation\Annotation\Rule\Required;

#[ApiModel('body管理')]
class TestBodyDto
{
    #[ApiModelProperty(value:'用户信息')]
    #[Required]
    public UserDto $user;

    #[ApiModelProperty(value:'创建日期')]
    #[Required]
    public string $create_date;
}
